package org.dromara.study.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.study.domain.entity.BookBorrowingRecords;
import org.dromara.study.domain.vo.BookBorrowingRecordsVo;

public interface BookBorrowingRecordsService extends IService<BookBorrowingRecords> {
    Page<BookBorrowingRecordsVo> getPage(PageQuery query, BookBorrowingRecordsVo bookBorrowingRecordsVo);

    Boolean add(BookBorrowingRecordsVo bookBorrowingRecordsVo);

    Boolean returnBook(BookBorrowingRecordsVo bookBorrowingRecordsVo);
}
